<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%-- <x:parse xml="${param.xmlstr}" var="xmlData" /> --%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}
.select_width {
	width: 130px;
}
</style>
<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>"/>
<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>"/>
<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>"/>
<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>"/>
<input type="hidden" id="if_have_org" name="proposal/if_have_org">
<input type="hidden" name="organization/whether_is_gaoxin_value" value="<x:out select="$xmlData/data/organization/whether_is_gaoxin_value" />"/>
<input type="hidden" name="organization/whether_industrial_base_value" value="<x:out select="$xmlData/data/organization/whether_industrial_base_value" />"/>
<input type="hidden" name="organization/whether_is_province_value" value="<x:out select="$xmlData/data/organization/whether_is_province_value" />"/>
<input type="hidden" name="proposal/contact_psn_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel"/>"/>
<input type="hidden" name="proposal/contact_psn_email" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email"/>"/>


<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo" cellspacing="1">
	<col style="width: 20%" />
	<col style="width: 30%" />
	<col style="width: 20%" />
	<col style="width: 30%" />
	<tr>
		<td colspan="4" class="t_bar2">项目基本情況</td>
	</tr>
	 <tr>
		<td align="right"> 项目名称：</td>
		<td >
            <x:out select="$xmlData/data/proposal/zh_title"/>
        </td>   
        <td align="right" > 申报时间：</td>
		<td >
			<x:out select="$xmlData/data/proposal/submit_date" />
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span> 归口管理部门：</td>
		<td colspan="1">
		    <x:out select="$xmlData/data/proposal/recomend_org_name" />
		</td>
		<td  align="right" nowrap> 主管处室：</td>
			 <td  colspan="1">
				<span name="proposal/default_admin_org_name"><x:out select="$xmlData/data/proposal/default_admin_org_name" /></span>
			</td>
	</tr> 
	
    <tr>	
	<td align="right"><span class="color_red">*</span>技术领域：</td>
	<td nowrap  colspan="1" valign="middle">
	<c:set var='str'>，<x:out select="$xmlData/data/proposal/technology_value" />，</c:set> 
	<c:if test="${fn:contains(str, '，01，')}">农业种植</c:if>	

	<c:if test="${fn:contains(str, '，02，')}">&nbsp;&nbsp;&nbsp;农业养殖</c:if>
	
	<c:if test="${fn:contains(str, '，03，')}">&nbsp;&nbsp;&nbsp;农业综合</c:if> 
	

		<td align="right" nowrap>科技部学科代码：</td>
			<td>
			<span name="basic_info/subject_name"><x:out select="$xmlData/data/basic_info/subject_name" /></span>
			</td>
	</tr>

	<tr>
		<td align="right" ><span class="color_red">*</span> 项目联系人姓名：</td>
		<td><x:out select="$xmlData/data/proposal/linkman_name" /></td>
		<td align="right" ><span class="color_red">*</span> 联系人手机：</td>
		<td><x:out select="$xmlData/data/proposal/linkman_mobile" /></td>
	</tr>
	
	
	<%-- 
	<tr>
		<td align="right" > 工作站站长姓名：</td>
		<td><input type="text" id="zhanzhang_name" name="proposal/zhanzhang_name" label="工作站站长姓名" class="input_css required" maxlength="20" style="" value="<x:out select="$xmlData/data/proposal/zhanzhang_name" />"</td>
		<td align="right" > 站长电话：</td>
		<td><input type="text" id="" name="proposal/zhanzhang_mobile" label="站长电话" class="input_css required" maxlength="50" style="" value="<x:out select="$xmlData/data/proposal/zhanzhang_mobile" />"</td>
	</tr> --%>	
	
	<tr>
		<td align="right"><span class="color_red">*</span> 项目开始日期：</td>
		<td>
			
				<x:out select="$xmlData/data/proposal/start_date" />
			
				</td>
		<td align="right"><span class="color_red">*</span> 项目结束日期：</td>
		<td>
			
				<x:out select="$xmlData/data/proposal/end_date" />
				
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span> 项目申请金额<br/>（万元）：</td>
		<td><x:out select="$xmlData/data/proposal/project_money" /></td>
		<td align="right"><span class="color_red">*</span> 项目报审级次（省补助<br/>资金拨付所属财政局）：</td>
	    <td>
			<x:out select="$xmlData/data/proposal/sub_step_name" />
		</td>
			
	</tr>
	<tr>
		<td colspan="4" class="t_bar2"><span class="color_red">*</span> 项目简述（限300字）</td>
	</tr>
	
	<tr>
		<td colspan="4">
	    	<x:out select="$xmlData/data/proposal/project_details_hidden" />
	    </td>
	</tr>
		    
	</tbody>
	
</table>
<br />
<script type="text/javascript">
$(function(){
	 $("#table_1").find("tr:even").addClass("li_1");
	 $("#table_1").find("tr:odd").addClass("li_2");
});


 function initTreeValueExt(treeId, treeNode) {
	 	if ((treeNode && treeNode.isParent)) {
	 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
	 		$("#" + treeId).val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
	 		return false;
	 	}
	 	var str = treeNode.name;
	 	var obj = treeNode.parentNode;
	 	while (obj != null) {
	 		str = obj.name + "-" + str;
	 		obj = obj.parentNode;
	 	}
	 	
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
	 } 
</script>
